use Test::Simple tests => 3;

use Zim::Repository;

my $rep = Zim::Repository->new('foo', 't/foo');

ok($rep->{formatter} eq 'Zim::Formats::Wiki');

my $page = $rep->load_page('test');

ok($page->status eq 'new');

ok(@{$page->parse_tree} > 2); # template content

